cmake_minimum_required(VERSION 3.10)
project(SocketManager)

aux_source_directory(src SOURCE_LIST)

add_library(socket_manager SHARED ${SOURCE_LIST})

target_include_directories(socket_manager PUBLIC include)

add_executable(socket_test socket_test.cpp)

add_executable(socket_client_test socket_client_test.cpp)

add_executable(socket_server_send_test socket_server_send_test.cpp)

add_executable(socket_manager_client_test socket_manager_client_test.cpp)
target_link_libraries(socket_manager_client_test socket_manager serial)

add_executable(socket_manager_server_test socket_manager_server_test.cpp)
target_link_libraries(socket_manager_server_test socket_manager  )




